package com.example.demo.controller;




import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.example.demo.service.UserServiceApi;




@RestController
@RequestMapping("/user")
public class Controllers {
	
	@Autowired
	private UserServiceApi userServiceApi;
	
	@RequestMapping(value="",method=RequestMethod.GET)
	public String list() {
		return userServiceApi.insert();
	}
	@RequestMapping(value="/ms",method=RequestMethod.GET)
	public String lists() {
		return userServiceApi.inserts();
	}
}
